﻿<%@ Page Title="未审核的医疗机构" Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="HospitalCheckeList.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.SystemManage.HospitalCheckeList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="HospitalMange.aspx">医疗机构列表</a></li>
            <li class="active"><a href="javascript:void(0);">未审核的医疗机构</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUserId" runat="server" Text="医疗机构名称："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalname" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                <asp:DropDownList ID="dplPageSize" runat="server">
                                    <asp:ListItem Selected="True" Value="10">每页10条</asp:ListItem>
                                    <asp:ListItem Value="50">每页50条</asp:ListItem>
                                    <asp:ListItem Value="100">每页100条</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td>
                                <hz:HzButton ID="btnQuery" runat="server" CssClass="btn" Text="查询" OnClick="btnQuery_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwChildUserList" class="mainlist" runat="server" AutoGenerateColumns="False"
        DataKeyNames="AreaID" EmptyDataText="暂无符合要求的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText=" ">
                <HeaderTemplate>
                    <input id="chkAll" name="chkAll" type="checkbox" onclick="SelectAllCheckboxes(this,'ctl00_ContentPlaceHolder1_gvwChildUserList','chkAll'); " />
                </HeaderTemplate>
                <ItemTemplate>
                    <input type="checkbox" name="chkChildUser" id="chkChildUser" value='<%#Eval("HospitalName")%>'
                        onclick="chkChecked(this,'ctl00_ContentPlaceHolder1_gvwChildUserList','chkAll');"
                        runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="HospitalName" HeaderText="医疗机构名称" />
            <asp:TemplateField HeaderText="联系人">
                <ItemTemplate>
                    <asp:Label ID="lblContactPerson" runat="server" Text='<%# Eval("ContactPerson") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="联系地址">
                <ItemTemplate>
                    <asp:Label ID="lblAddress" runat="server" Text='<%# Eval("Address") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="固定电话">
                <ItemTemplate>
                    <asp:Label ID="lblTelNo" runat="server" Text='<%# Eval("TelNo") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="CellNo" HeaderText="手机(应急用)" />
            <asp:BoundField DataField="Email" HeaderText="电子邮箱" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明:<span> 说明</span></li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnBatUnLock" runat="server" OnClientClick="if(checkSelectedItems('ctl00_ContentPlaceHolder1_gvwChildUserList','请至少选定一个医疗机构！')) {return confirm('确实审核通过？');}return false;"
            CssClass="btn" Text="审核通过" OnClick="btnBatUnLock_Click" OperateType="审核" />
        &nbsp;&nbsp;
        <hz:HzButton ID="btnBatResetPws" runat="server" OnClientClick=" if(checkSelectedItems('ctl00_ContentPlaceHolder1_gvwChildUserList','请至少选定一个医疗机构！')) {return confirm('确实要删除？');}return false;"
            Text="删除" CssClass="btn" OnClick="btnBatResetPws_Click" OperateType="删除" />
    </div>
</asp:Content>
